package com.study.optional;

/**
 * @program: java8
 * @description: Girl
 * @author: yangyb
 * @create: 2021-11-14 23:09
 **/
public class Girl {
    private String name;

    public Girl(String name) {
        this.name = name;
    }

    public Girl() {

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Girl{" +
                "name='" + name + '\'' +
                '}';
    }
}
